<?php echo $this->getContent(); ?>
<?php use Phalcon\Tag;?>
<style>
    td,th{text-align: center;}
</style>
<table class="table table-bordered table-striped">
    <thead>
    <th>子系统用户名称</th>
    <th>对应平台用户ID、Name</th>
    <th>对应业务系统ID、业务系统</th>
    <th>添加时间</th>
    <th>修改时间</th>
    <th colspan="2">　　</th>
    </thead>
    <tbody>
    <?php foreach($page as $businessuser){ ?>
        <tr>
            <td><?=$businessuser->user ?></td>
            <td><?=$businessuser->getServerUsers()->user ?>/<?=$businessuser->getServerUsers()->id ?></td>
            <td><?=$businessuser->getBusinessSystems()->id; ?>/<?=$businessuser->getBusinessSystems()->name; ?></td>
            <td><?=$businessuser->addTime ?></td>
            <td><?=$businessuser->updateTime ?></td>
            <td><?=$this->tag->linkTo(array("businessusers/edit/".$businessuser->id."/".$businessuser->getServerUsers()->id, '修改')) ?></td>
            <td><?= $this->tag->linkTo(array("businessusers/delete/".$businessuser->id, '删除')) ?></td>
        </tr>
    <?php } ?>
    </tbody>
</table>
